package cn.jjxx.modules.record.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.record.mapper.TechnologicalAchievementsMapper;
import cn.jjxx.modules.record.entity.TechnologicalAchievements;
import cn.jjxx.modules.record.service.ITechnologicalAchievementsService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 技术成果
 * @Description: 技术成果
 * @author zx
 * @date 2021-01-04 13:57:28
 * @version V1.0   
 *
 */
@Transactional
@Service("technologicalAchievementsService")
public class TechnologicalAchievementsServiceImpl  extends CommonServiceImpl<TechnologicalAchievementsMapper,TechnologicalAchievements> implements  ITechnologicalAchievementsService {

	@Override
	public boolean insertBatch(List<TechnologicalAchievements> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<TechnologicalAchievements> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
